﻿using AutoMapper;
using WpfApp.MesServices;
using WpfApp.SaveInfos;
using WpfApp.ViewModels;

namespace WpfApp
{
    internal class AutoMapperConfig
    {
        public AutoMapperConfig(IMapperConfigurationExpression mapper)
        {
            mapper.CreateMap<MesConfigSaveInfo, MesConfigViewModel>()
                .ReverseMap();
            mapper.CreateMap<MesConfigSaveInfo, StartRequestMessageDto>();
        }
    }
}
